package cn.sm1234.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.sm1234.dao.CustomerMapper;
import cn.sm1234.domain.Customer;
import cn.sm1234.service.CustomerService;

@Service("customerService")
@Transactional
public class CustomerServiceImpl implements CustomerService {
	//注入Mapper接口对象
	@Resource
	private CustomerMapper customerMapper;
	public List<Customer> findAll() {
		// TODO Auto-generated method stub
		return customerMapper.findAl();
	}
	//注入Mapper接口对象
	
	
	
}
